package com.ruoyi.patrol.mapper;

import com.ruoyi.patrol.domain.PtWorkOrderType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PtWorkOrderTypeMapper {
    int insertWorkOrderType(PtWorkOrderType workOrderType);

    List<PtWorkOrderType> selectWorkOrderTypeList(PtWorkOrderType workOrderType);

    PtWorkOrderType selectWorkOrderTypeById(@Param("id") Long id);

    int updateWorkOrderType(PtWorkOrderType workOrderType);

    int deleteWorkOrderTypeById(Long[] ids);
}
